package com.sys.gradepaysys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

public class Event implements Serializable {
    private Integer eid;
    private String eName;
    private Integer eNum;
    private String sTime;
    private String eTime;
    private Integer isOk;
    private Integer isDoing;
    private Double ePay;
    private Integer supNum;
    private Integer noSup;
    private Integer  cid;
    private Double totalPay;

    @Override
    public String toString() {
        return "Event{" +
                "eid=" + eid +
                ", eName='" + eName + '\'' +
                ", eNum=" + eNum +
                ", sTime='" + sTime + '\'' +
                ", eTime='" + eTime + '\'' +
                ", isOk=" + isOk +
                ", isDoing=" + isDoing +
                ", ePay=" + ePay +
                ", supNum=" + supNum +
                ", noSup=" + noSup +
                ", cid=" + cid +
                ", totalPay=" + totalPay +
                '}';
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName;
    }

    public Integer geteNum() {
        return eNum;
    }

    public void seteNum(Integer eNum) {
        this.eNum = eNum;
    }

    public String getsTime() {
        return sTime;
    }

    public void setsTime(String sTime) {
        this.sTime = sTime;
    }

    public String geteTime() {
        return eTime;
    }

    public void seteTime(String eTime) {
        this.eTime = eTime;
    }

    public Integer getIsOk() {
        return isOk;
    }

    public void setIsOk(Integer isOk) {
        this.isOk = isOk;
    }

    public Integer getIsDoing() {
        return isDoing;
    }

    public void setIsDoing(Integer isDoing) {
        this.isDoing = isDoing;
    }

    public Double getePay() {
        return ePay;
    }

    public void setePay(Double ePay) {
        this.ePay = ePay;
    }

    public Integer getSupNum() {
        return supNum;
    }

    public void setSupNum(Integer supNum) {
        this.supNum = supNum;
    }

    public Integer getNoSup() {
        return noSup;
    }

    public void setNoSup(Integer noSup) {
        this.noSup = noSup;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Double getTotalPay() {
        return totalPay;
    }

    public void setTotalPay(Double totalPay) {
        this.totalPay = totalPay;
    }

    public Event() {
    }

    public Event(Integer eid, String eName, Integer eNum, String sTime, String eTime, Integer isOk, Integer isDoing, Double ePay, Integer supNum, Integer noSup, Integer cid, Double totalPay) {
        this.eid = eid;
        this.eName = eName;
        this.eNum = eNum;
        this.sTime = sTime;
        this.eTime = eTime;
        this.isOk = isOk;
        this.isDoing = isDoing;
        this.ePay = ePay;
        this.supNum = supNum;
        this.noSup = noSup;
        this.cid = cid;
        this.totalPay = totalPay;
    }
}
